<style type="text/css">
    .contact_wx{
        position: relative;
        display: block;
    }
    .contact_wx .wx_contact_img{
        display: none;
        width: 120px;
        height: 120px;
        border-radius: 10px;
        position: absolute;
        top: -125px;
        left: 79px;
        margin-left: -61px;
        background: url(/front/Content/images/wx_contact.jpg);
        background-size: 120px 120px;
    }
    .contact_wx:hover .wx_contact_img{
        display: block;
    }
</style>
<div id="footer">
            <div class="footerbox">
                <div class="wzgn">
                    <div class="wzgn_left">
                        <div class="blogo"><a href=""><img src="/front/Content/images/a_17.png" /></a></div>
                        <div class="wzgn_text">
                            <p>{{config('footer_cp')}}</p>
                        </div>
                        <div class="fwrx">
                            <div class="fw_left">
                                <ul style="overflow: inherit;">
                                    <li><a href=""><img src="/front/Content/images/a_24.png" />
                                        <p>服务热线<span>{{config('fwrx')}}</span></p></a></li>
                                    <li><a href="http://wpa.qq.com/msgrd?v=3&uin={{config('qq')}}&site=qq&menu=yes" target="_blank"><img src="/front/Content/images/a_26.png" />
                                        <p>QQ客服<span>{{config('qq')}}</span></p></a></li>
                                   
                                    <li  style="overflow: inherit;">
                                        <a class="contact_wx" >
                                            <img src="/front/Content/images/a_31.png" />
                                          
                                            <p>名片宝
                                                 <div class="wx_contact_img"></div>
                                                <span>  微信咨询 </span>
                                             </p>
                                        </a>
                                     </li>
                                    
                                    <li><a href=" https://www.toutiao.com/c/user/6983912643/#mid=52306494749" target="_blank"><img src="/front/Content/images/a_34.png" />
                                        <p>今日头条<span>关注我们</span></p></a></li>
                                </ul>
                            </div>
                            <div class="wbbox"><img width="123px" src="/front/Content/images/a_21.png" /></div>
                        </div>
                    </div>
                    <div class="wzgn_right">
                    	@foreach(array_slice($menu,0 ,4) as $row)
                        <div class="gndl">
                            <h2>{{$row['name']}}</h2>
                            @if(isset($row['child']))
                            <ul>
                                @foreach($row['child'] as $r)
                            		<li><a href="{{url($r['controller'].'?catid='.$r['id'])}}">{{$r['name']}}</a></li>
                                @endforeach
                            </ul>
                            @endif
                        </div>
                        @endforeach
                        
                    </div>
                </div>
                <div class="bqxx">
                    <ul>
                        <li>友情链接：</li>
                        
                        @foreach($links as $row)
                        <li><a href="{{$row->url}}" target="_blank">{{$row->name}}</a></li>
                        @endforeach
                        <li><a href="http://wpa.qq.com/msgrd?v=3&uin=3533560893&site=qq&menu=yes&from=message&isappinstalled=0" target="_blank">申请友链</a></li>
                    </ul>
                    <ul>
                        <li><a href="{{url('/page?catid=34')}}">关于我们</a>|</li>
                       
                        <li><a href="{{url('/page?catid=37')}}">联系我们</a>|</li>
                        <li><a href="{{url('/page?catid=41')}}">法律声明</a>|</li>
                        <li><a href="http://wpa.qq.com/msgrd?v=3&uin={{config('qq')}}&site=qq&menu=yes" target="_blank">投诉建议</a></li>
                    </ul>
                </div>
            </div>
        </div>




<div class="yb_conct">
    <div class="yb_bar">
        <ul>
            <li class="yb_top">返回顶部</li>
            <li class="yb_phone">400-625-0083</li>
            <li class="yb_QQ">
                <a href="http://wpa.qq.com/msgrd?v=3&amp;uin=3533560893&amp;site=qq&amp;menu=yes&amp;from=message&amp;isappinstalled=0" target="_blank" title="即刻发送您的需求">在线咨询</a>
            </li>
            <li class="yb_ercode" style="height:53px;">微信二维码 <br />
                <img alt="关注你附近" class="hd_qr" src="/front/Content/images/a_21.png" width="125" /> </li>
        </ul>
    </div>
</div>


<script type="text/javascript">
	@if(isset($category) && $category->parent_id == 0)
		$("#{{$category->controller.$category->id}}").eq(0).css("color","#000");
	@elseif(isset($category) && $category->parent_id > 0)
		$("#{{$category->controller.$category->parent_id}}").eq(0).css("color","#000");
	@endif
		
</script>

<script type="text/javascript">
$(".cyxf ul li a").hover(function(){

        $(this).find(".txt").stop().animate({height:"100px"},400);

    },function(){

        $(this).find(".txt").stop().animate({height:"0px"},400);



    })

</script>

<script>

    $(function () {
       $(".topage").click(function () {
           var link = $(this).attr("value");
           //alert(link);
           if( link !=null )
           {
               window.open("//"+link);
           }

       });
    });


</script>